<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\CarModels\EquipmentTaskKind;
use App\Models\CarModels\EquipmentTaskRecord;
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/


$factory->define(App\Models\Garbage\GarbageGoodInfo::class, function (Faker $faker) {
    return [
        'garbage_good_kind_id' => $faker->numberBetween(1,5),
        'name'=>$faker->userName,
        'city_id'=>$faker->numberBetween(1,3),
        'price'=>$faker->numberBetween(10,100),
        'point'=>$faker->numberBetween(1,10),
        'desc'=>$faker->sentence(1),
        'on_sale'=>$faker->boolean,
        'file_id'=>$faker->numberBetween(1,5),
    ];
});
